#!/bin/bash
LANG=en_US.UTF-8
path1=/usr/YMD/env.sh
path2=/usr/YMD/scripts/
url=https://gitee.com/pj-xiaoyu/YMD/raw/master

cd $path2
wget ${url}/ksjsb.js -O YMD_ksjsb.js
#快手极速版

cd $path2
wget ${url}/ks.js -O YMD_ks.js
#快手普通版

#wget https://gitee.com/pj-xiaoyu/YMD/raw/master/kshp -O kshp&&chmod 777 kshp&&./kshp&&rm -rf kshp

cd $path2
sed -i "15a 11 11 * * * root bash $path1 YMD_kgdzb" /etc/crontab
wget ${url}/kgdzb.js -O YMD_kgdzb.js
#酷狗大字版